home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / cp2dekit / h / binfpak.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-29  |  846 b   |  37 lines

  1. //***************************************************************************
  2. //
  3. // this file is (c) '94-'96 Niklas Beisert
  4. //
  5. // this file is part of the cubic player development kit.
  6. // you may only use/modify/spread this file under the terms stated
  7. // in the cubic player development kit accompanying documentation.
  8. //
  9. //***************************************************************************
  10.  
  11. #ifndef __BINFPAK_H
  12. #define __BINFPAK_H
  13.  
  14. #include "binfile.h"
  15.  
  16. class pakbinfile : public binfile
  17. {
  18. protected:
  19.   binfile *file;
  20.  
  21. public:
  22.   pakbinfile();
  23.  
  24.   int open(const char *name);
  25.  
  26.   virtual void close();
  27.   virtual long read(void *buf, long len);
  28.   virtual long write(const void *buf, long len);
  29.   virtual long seek(long pos);
  30.   virtual long chsize(long pos);
  31. };
  32.  
  33. int pakfInit();
  34. void pakfClose();
  35.  
  36. #endif
  37.